@btns-height: 52px;
@side-width: 480px;
.edc-template-browser-dialog {
    .wea-dialog-body {
        min-height: 550px;
    }
}

.edc-template-browser {
    height: 100%;
    .left {
        position: absolute;
        top: 0px;
        left: 0px;
        width: @side-width;
        border-right: 1px solid #eaeaea;
        bottom: @btns-height;
        .search-wrapper {
            padding: 8px;
            padding-left: 20px;
            border-bottom: 1px solid #eaeaea;
            .wea-select {
                margin-right: 10px;
                width: 100px;
                vertical-align: middle;
                .ant-select-selection {
                    height: 28px;
                }
            }
        }
        .clearfix {
            overflow: hidden;
            position: absolute;
            top: 47px;
            bottom: 35px;
            width: 100%;
        }
        .ant-spin-nested-loading,
        .ant-spin-container,
        .ant-table,
        .ant-table-content,
        .ant-table-scroll {
            height: 100% !important;
            overflow: hidden;
        }
        .ant-table-body {
            overflow-y: auto !important;
            position: absolute;
            width: 100%;
            top: 41px;
            bottom: 0px;
        }
        .ant-pagination {
            position: absolute;
            bottom: 0px;
            width: 100%;
            margin: 0px;
        }
        .ant-table-header {
            table {
                border-bottom: 1px solid #eaeaea;
            }
        }
    }
    .right {
        position: absolute;
        right: 0px;
        bottom: @btns-height;
        top: 0px;
        width: @side-width;
        padding: 16px 24px;
        .desc {
            line-height: 1.5;
            font-weight: 200;
            padding-bottom: 10px;
        }
        .image {
            background: #f7f7f7;
            width: 430px;
            height: 420px;
            text-align: center;
            border-radius: 6px;
            vertical-align: middle;
            display: table-cell;
            .no-excel-icon {
                height: 100%;
                width: 100%;
                padding-top: 40%;
                color: #ccc;
                font-size: 72px;
            }
        }
    }
    .btns {
        position: absolute;
        bottom: 0px;
        width: 100%;
        height: @btns-height;
        border-top: 1px solid #eaeaea;
        line-height: 52px;
        text-align: right;
        button {
            margin-right: 10px;
            &:last-child {
                margin-right: 24px;
            }
        }
    }
    .ant-table-thead>tr>th {
        padding: 0px !important;
        &:first-child {
            &>span {
                padding-left: 0px;
            }
        }
    }
    .ant-table-tbody>tr>td {
        padding-top: 10px !important;
        padding-bottom: 9px !important;
    }
    .ant-table-tbody tr td:first-child,
    .ant-table-thead tr th:first-child {
        padding-left: 18px !important;
    }
    .ant-table-tbody>tr>td.title {
        cursor: pointer;
    }
    .ant-table-tbody>tr.ant-table-row-hover,
    .ant-table-tbody>tr:hover,
    .ant-table-thead>tr.ant-table-row-hover,
    .ant-table-thead>tr:hover,
    .ant-table-row.selected {
        background: #eaf8fe;
    }
    .ant-table-tbody>tr:last-child>td {
        border-bottom: 0px;
    }
}

@media (max-height: 700px) {
    .edc-template-browser .left .ant-table-body {
        top: 31px;
    }
}